﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTGroup_ZheJiang.IDAL;
using DTGroup_ZheJiang.Models;
using DTGroup_ZheJiang.OracleDataAccess;

namespace DTGroup_ZheJiang.Business
{
    public class FlooorStatisticsBO
    {
        public DataTable GetFlooorStatisticsByPage(string tableName, int PageIndex, int PageSize, string sqlCondition, out int TotalCount)
        {
            IFlooorStatistics dal = new FlooorStatisticsDao();
            return dal.GetFlooorStatisticsByPage(tableName, PageIndex, PageSize, sqlCondition, out TotalCount);
        }
        public List<FlooorStatistics> GetFlooorStatisticsByWhere(string tableName, string sqlCondition)
        {
            IFlooorStatistics dal = new FlooorStatisticsDao();
            return dal.GetFlooorStatisticsByWhere(tableName, sqlCondition);
        }
    }
}
